<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>HOME AMMINISTRATORE</title>
<style type="text/css">
<!--
.style1 {font-family: Verdana, Calibri, Cambria}
.style3 {font-family: Verdana, Calibri, Cambria; font-size: small; }
.style4 {
	font-family: Verdana, Calibri, Cambria;
	font-weight: bold;
	font-style: italic;
	color: #FFFFFF;
}
body {
	background-color: #CCCCCC;
}
-->
</style>
</head>

<body>
<table width="700" height="422" border="0" align="center">
  <tr>
    <td align="center" valign="middle"><img src="images/title.png" width="700" height="100"></td>
  </tr>
  <tr>
    <td height="257" align="center" valign="top"><table width="100%" border="0">
      <tr>
        <td align="center"><div align="left">
          <p class="style3">
          
          <%  
		
			if (session.getAttribute("user")==null)
			response.sendRedirect("loginerr.jsp");
			
			else
			{
	
			String user = session.getAttribute("user").toString();
			String type = session.getAttribute("type").toString();
			String matr = session.getAttribute("matricola").toString();
			String nome = session.getAttribute("nome").toString();
			String cogn = session.getAttribute("cognome").toString();
			}
		%>
		  </p>
        </div></td>
        </tr>
      <tr>
        <td class="style1"><p align="center"><strong>Seleziona una delle seguenti opzioni </strong></p></td>
        </tr>
      <tr>
        <td class="style1"><div align="center">
          	<br><input type = "submit" name = "btnaccount" style="width: 300px;"  value = "GESTIONE ACCOUNT"          onclick = "location.href='account.jsp'"/>
			<br><input type = "submit" name = "btnaccount" style="width: 300px;"  value = "GESTIONE DIPENDENTI"       onclick = "location.href='gestione_dipendenti.jsp'"/>
			<br><input type = "submit" name = "btnaccount" style="width: 300px;"  value = "GESTIONE GRUPPO DI LAVORO" onclick = "location.href='gestione_gruppo.jsp'"/>
			<br><input type = "submit" name = "btnaccount" style="width: 300px;"  value = "GESTIONE BENI"             onclick = "location.href='gestione_beni.jsp'"/>
			<br><input type = "submit" name = "btnaccount" style="width: 300px;"  value = "ASSEGNAZIONE BENI"         onclick = "location.href='assegnazione_beni_sa.jsp'"/>
        </div></td>
        </tr>
      <tr>
        <td class="style1">&nbsp;</td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="middle">&nbsp;</td>
  </tr>
  <tr>
    <td align="center" valign="middle" bgcolor="#000099"><div align="right" class="style4">HOME AMMINISTRATORE </div></td>
  </tr>
</table>
</body>
</html>
